package com.demo.statemachine.demos.state;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum OrderStates {
    WAITING_FOR_REVIEW(0, "待审核"),
    UNDER_REVIEW(1, "审核中"),
    APPROVED(2, "审核通过"),
    REJECTED(3, "审核不通过");

    private final int code;

    private final String desc;
}